<?php

namespace App\Console\Commands;

use App\Models\User;
use Illuminate\Console\Command;
use App\Supports\Withdraw\WithdrawOverChecker;
use Illuminate\Support\Facades\Log;

class CacheGoldRecords extends Command
{
    protected $signature = 'cc:cache-gold-records';

    protected $description = "Cache all users gold records data";

    public function handle()
    {
	    /**
	     * Only first deploy init all gold records.
	     */

	    User::initGoldRecordsCache();
    }
}
